package Java基础;

public class 正则 {
    public static void main(String[] args){
        String s = "encoding";
        System.out.println(s.matches(".{0,}encoding.{0,}"));
    }
}
